<!DOCTYPE html>
<html>
    <link type="text/css" rel="stylesheet" href="giftgiving.css"/>
    <!-- Uncomment the line below to include javascript in your webpage -->
    <!--<script type="text/javascript" src="giftgiving.js"/>-->
    <style type="text/css">
<!--
.STYLE1 {
	font-size: 18px;
	font-weight: bold;
}
.STYLE2 {
	font-size: 16px;
	font-weight: bold;
	color: #000;
}
-->
    </style>
    <head>
        <title>Floral Home</title>
    </head>
    <body>
        <div id="gift-view-id">
            <!-------  Side bars  ----------------------------------------------------------->
			<div id="gift-navpane-id" class="gift-navpane">
    			<div id="gift-pets-id" class="gift-types ">
                    <a href="cus_home.php" class="STYLE1">Home</a>				    </div>
				<div id="gift-pets-id" class="gift-types">
                    <a href="cus_profile.php" class="STYLE1">My Profile</a>			</div>
				<div id="gift-pets-id" class="gift-types">
                    <a href="cus_myOrder.php" class="STYLE1">My Order</a>			</div>
				<div id="gift-register-id" class="gift-types gift-types-selected">
                    <a href="cus_reg.php" class="STYLE1">Register</a>    			</div>
				
                <?php   
					session_start();
					if (!isset($_SESSION['SESS_CID']) || (trim($_SESSION['SESS_CID']) == '')){
						echo '<div id="gift-register-id" class="gift-types">
							  <a href="cus_login.php" class="STYLE1">Login</a>    </div>';
					}else{
						echo '<div id="gift-register-id" class="gift-types">
								  <a href="cus_login.php" class="STYLE1">Logout</a>     </div>';
					}
				?>
    		</div>
			<!--------------Main Content----------------------------------------------------->
    		<div id="gift-choosepane-id" class="gift-choosepane">
               <!-- Note the onClick handler for this element -->
              <div id="gift-table" onClick="onGiftClick()">
        	   <table>
        			  <th colspan="8"><span class="STYLE2">Register and order your bouquets</span></th>
        			
					<form action="customer.php" method="post">
                       <!-- The different gift elements have unique ids -->
        			<?php
						if( isset($_SESSION['ERRMSG'])) {
							echo "<tr><td> What the fuck!</td> </tr>";
							echo '<ul class="err">';
							foreach($_SESSION['ERRMSG'] as $msg) {
								echo '<li>',$msg,'</li>'; 
							}
						}
						
						unset($_SESSION['ERRMSG']);
				    ?>
        			<tr>
        				<td>Name: <input type="text" name="name" required/></td>
        			</tr>
        			<tr>
        				<td>Phone Number: <input type="text" name="phoneNo" required/></td>
        			</tr>
                    <tr>
            			<td>Email: <input type="email" name="email" required/></td>
        			</tr>
					<tr>
            			<td>Password: <input type="password" name="password" required/></td>
        			</tr>
					<tr>
            			<td>Confirmed password: <input type="password" name="password2" required/></td>
        			</tr>
            			<input type="hidden" name="method" value="insert"/>
						
        			<tr>
						<td><input name="" type="submit" value="Sign Up" /></td>
					</tr>
                  </form>
        		</table>

              </div>
			  <div class="footer-container">
            <div class="left">
                <p>Any questions? Let us help you.  Call us: <strong>+65 9861 5555</strong>   &copy; Copyright Flowers Singapore</p>
            </div>
        </div>
    		</div>
        </div>
	</body>
<ml>